<?php
include("config/config.php");
if(_logged() == true){
	$smarty->display($ROOT . 'templates/index.tpl');
}else{
	//$smarty->display($ROOT . 'templates/login/index.tpl');
	//$smarty->display($ROOT . 'templates/html/index.html');
	echo "<script type='text/javascript'> location.href='templates/html/index.html'  </script>";
}

?>